home *** CD-ROM | disk | FTP | other *** search
/ IRIX Base Documentation 2001 May / SGI IRIX Base Documentation 2001 May.iso / usr / share / catman / p_man / cat3 / Vk / VkPipe.z / VkPipe
Encoding:
Text File  |  2001-04-17  |  5.0 KB  |  133 lines

  1.  
  2.  
  3.  
  4. VVVVkkkkPPPPiiiippppeeee((((3333xxxx))))                                                          VVVVkkkkPPPPiiiippppeeee((((3333xxxx))))
  5.  
  6.  
  7.  
  8. NNNNAAAAMMMMEEEE
  9.      VkPipe - Object-oriented interface to Unix pipes
  10.  
  11. IIIINNNNHHHHEEEERRRRIIIITTTTSSSS FFFFRRRROOOOMMMM
  12.      VkCallbackObject
  13.  
  14. HHHHEEEEAAAADDDDEEEERRRR FFFFIIIILLLLEEEE
  15.      #include <Vk/VkPipe.h>
  16.  
  17. PPPPUUUUBBBBLLLLIIIICCCC PPPPRRRROOOOTTTTOOOOCCCCOOOOLLLL SSSSUUUUMMMMMMMMAAAARRRRYYYY
  18.    CCCCoooonnnnssssttttrrrruuuuccccttttoooorrrr////DDDDeeeessssttttrrrruuuuccccttttoooorrrr
  19.            VkPipe(int& fd);
  20.            void ~VkPipe(void);
  21.  
  22.  
  23.    AAAAcccccccceeeessssssss FFFFuuuunnnnccccttttiiiioooonnnnssss
  24.            int operator[](End whichEnd);
  25.  
  26.  
  27. PPPPRRRROOOOTTTTEEEECCCCTTTTEEEEDDDD PPPPRRRROOOOTTTTOOOOCCCCOOOOLLLL SSSSUUUUMMMMMMMMAAAARRRRYYYY
  28.    PPPPrrrrooootttteeeecccctttteeeedddd DDDDaaaattttaaaa MMMMeeeemmmmbbbbeeeerrrrssss
  29.            int[2] pipefd;
  30.            VkInput* _input;
  31.  
  32.  
  33. CCCCLLLLAAAASSSSSSSS DDDDEEEESSSSCCCCRRRRIIIIPPPPTTTTIIIIOOOONNNN
  34.           The VkInput class is an object-oriented interface to Unix pipes.  It
  35.           sets up a pipe, using the VkInput class to provide callbacks to the
  36.           application when input is available.
  37.  
  38.  
  39.  
  40. FFFFUUUUNNNNCCCCTTTTIIIIOOOONNNN DDDDEEEESSSSCCCCRRRRIIIIPPPPTTTTIIIIOOOONNNNSSSS
  41.    VVVVkkkkPPPPiiiippppeeee(((())))
  42.            VkPipe(int& fd);
  43.            void ~VkPipe(void);
  44.  
  45.  
  46.           Create a non-blocking pipe, setting fd to the write end.  The read
  47.           end is attached to the VkInput object, and the VkPipe::inputCallback
  48.           callback is called when input is available.
  49.  
  50.    ooooppppeeeerrrraaaattttoooorrrr[[[[]]]](((())))
  51.           int operator[](End whichEnd);
  52.  
  53.  
  54.           Returns one end of the pipe.  The argument should be READ or WRITE.
  55.  
  56. DDDDAAAATTTTAAAA MMMMEEEEMMMMBBBBEEEERRRR DDDDEEEESSSSCCCCRRRRIIIIPPPPTTTTIIIIOOOONNNNSSSS
  57.    iiiinnnntttt[[[[2222]]]] ppppiiiippppeeeeffffdddd;;;;
  58.  
  59.  
  60.  
  61.  
  62.  
  63.                                                                         PPPPaaaaggggeeee 1111
  64.  
  65.  
  66.  
  67.  
  68.  
  69.  
  70. VVVVkkkkPPPPiiiippppeeee((((3333xxxx))))                                                          VVVVkkkkPPPPiiiippppeeee((((3333xxxx))))
  71.  
  72.  
  73.  
  74.           int[2] pipefd;
  75.  
  76.  
  77.           Storage of the pipe ends.
  78.  
  79.    ____iiiinnnnppppuuuutttt;;;;
  80.           VkInput *_input;
  81.  
  82.  
  83.           The VkInput object used for the input callback.
  84.  
  85. IIIINNNNHHHHEEEERRRRIIIITTTTEEEEDDDD MMMMEEEEMMMMBBBBEEEERRRR FFFFUUUUNNNNCCCCTTTTIIIIOOOONNNNSSSS
  86.    IIIInnnnhhhheeeerrrriiiitttteeeedddd ffffrrrroooommmm VVVVkkkkCCCCaaaallllllllbbbbaaaacccckkkkOOOObbbbjjjjeeeecccctttt
  87.           callCallbacks(), addCallback(), removeCallback(),
  88.           removeAllCallbacks()
  89.  
  90.  
  91. VVVVIIIIEEEEWWWWKKKKIIIITTTT 2222....1111 CCCCHHHHAAAANNNNGGGGEEEESSSS
  92.    CCCCoooonnnnssssttttrrrruuuuccccttttoooorrrr
  93.            VkPipe(int& fd, VkScreen *screen = NULL);
  94.  
  95.  
  96.           this new API is source code compatible with ViewKit 1.5.3 while
  97.           adding a VkScreen option for applications which need to support
  98.           multi-screen connections...
  99.  
  100. CCCCLLLLAAAASSSSSSSSEEEESSSS UUUUSSSSEEEEDDDD BBBBYYYY TTTTHHHHIIIISSSS CCCCLLLLAAAASSSSSSSS
  101.      VkApp, VkDialogManager
  102.  
  103. KKKKNNNNOOOOWWWWNNNN CCCCLLLLAAAASSSSSSSSEEEESSSS TTTTHHHHAAAATTTT UUUUSSSSEEEE TTTTHHHHIIIISSSS CCCCLLLLAAAASSSSSSSS
  104.      VkSubProcessRep
  105.  
  106. SSSSEEEEEEEE AAAALLLLSSSSOOOO
  107.      VkApp, VkDialogManager, VkSubProcess, VkInput
  108.      _V_i_e_w_K_i_t _P_r_o_g_r_a_m_m_e_r'_s _G_u_i_d_e
  109.      _T_h_e _X _W_i_n_d_o_w _S_y_s_t_e_m, DEC Press, Bob Sheifler and Jim Gettys
  110.      _T_h_e _X _W_i_n_d_o_w _S_y_s_t_e_m _T_o_o_l_k_i_t, DEC Press, Paul Asente and Ralph Swick
  111.      _T_h_e _O_S_F/_M_o_t_i_f _P_r_o_g_r_a_m_m_e_r_s _R_e_f_e_r_e_n_c_e, Prentice Hall, OSF
  112.  
  113.  
  114.  
  115.  
  116.  
  117.  
  118.  
  119.  
  120.  
  121.  
  122.  
  123.  
  124.  
  125.  
  126.  
  127.  
  128.  
  129.                                                                         PPPPaaaaggggeeee 2222
  130.  
  131.  
  132.  
  133.